<!DOCTYPE html PUBLIC 
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	
<%@taglib prefix="s" uri="/struts-tags" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title><s:text name="welcome.title" /></title>
	<s:head />
</head>
<body>
	<p>Welcome, <s:property value="#session['user'].name" default="Guest"/>.</p>
	<s:if test="#session['user'] == null">
		<p>As you aren't logged in, the only action you can do is to search for a resource on our database.</p>
	</s:if>
	<s:else>
		<p>As you are logged, you can search for a resource on our database. Once you find what you are looking for, you can reserve it to get on Library.</p>
	</s:else>
</body>
</html>
	